import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';

import { CodeBaseRoutingModule } from './code-base-routing.module';
import { PaginatorModule } from 'primeng/primeng';
import { TableModule } from 'primeng/table';
import { TabsModule, BsDropdownModule, ModalModule } from 'ngx-bootstrap';
import { UtilsModule } from '@shared/utils/utils.module';
import { CodeBaseComponent } from './code-base.component';
import { CreateOrEditCodeBaseModalComponent } from './create-or-edit-code-base-modal.component';
import { LogCodeBaseModalComponent } from './log-code-base-modal.component';

@NgModule({
  declarations: [
    CodeBaseComponent,
    CreateOrEditCodeBaseModalComponent,
    LogCodeBaseModalComponent
  ],
  imports: [
    CommonModule,
    CodeBaseRoutingModule,
    PaginatorModule,
    TableModule,// 列表
    TabsModule.forRoot(),// tab页面
    BsDropdownModule.forRoot(),// 按钮下拉菜单
    UtilsModule,
    ModalModule.forRoot(),
  ]
})
export class CodeBaseModule { }
